doctype
html
	head
		meta(charset="utf-8")
		title #{title}
		link(href="/css/admin.css",rel="stylesheet")
		link(href='//cdn.bootcss.com/webuploader/0.1.1/webuploader.css', rel='stylesheet')
	body.sub-body
		.pos-rlt.p-md
			span 首页
			em >
			span 添加资料
		.p-md.m-top
			.panel.panel-default
				.panel-body
					.tab_t
						span.a.active 添加资料
				.pane-body.atricle-form
					form(action="/admin/downloadSave",method="post")
						.form-group.m-h-n.clearfix
							label.control-label 资料名称：
							.col-sm-6
								input.form-control(type="text",name="name")
						.form-group.m-h-n.clearfix
							label.control-label 附件上传：
							.col-sm-9
								input#_dataLinkPicker(type="hidden",name="dataLink")
								#dataLink.dataLink
								#dataLinkPicker
						.form-group.m-h-n.clearfix
							label.control-label
							.col-sm-6
								.submit_type.t-l
									button.btn.btn-sm.btn-danger(type="submit") 提交

		script(src="http://cdn.bootcss.com/jquery/2.2.0/jquery.min.js",type="text/javascript")
		script(src='//cdn.bootcss.com/webuploader/0.1.1/webuploader.js')
		script(src="/ueditor/ueditor.config.js",type="text/javascript")
		script(src="/ueditor/ueditor.all.min.js",type="text/javascript")
		script(src="/ueditor/lang/zh-cn/zh-cn.js",type="text/javascript")
		script(src="/js/adminBase.js",type="text/javascript")
		script(src='/js/h5webuploader.js')
		script.
			$(function () {
				UE.getEditor('editor-content');
				$("#dataLinkPicker").uploads({
					fileNumLimit: 10,
					name: '文件上传',
					accept: {
						title: '文件上传',
						extensions: 'doc,docx,pdf',
						mimeTypes: 'application/msword,aplication/zip'
					},
				});
			})
